package glassline.mock;

import transducer.Transducer;
import glassline.Glass;
import glassline.interfaces.Conveyor;
import glassline.interfaces.Shipper;

public class MockShipper extends MockAgent implements Shipper {
	
	public Transducer myTransducer;
	public Conveyor ca;
	
	public MockShipper(String name, Conveyor ca, Transducer t) {
		super(name);
		myTransducer = t;
		this.ca = ca;
	}

	@Override
	public void msgHereIsGlass(Glass g) {
		log.add(new LoggedEvent("Received glass from conveyor " + ca.toString() + "."));
	}

	@Override
	public void setConveyor(Conveyor c) {		
	}
	

}
